package com.sxbbc.common.core.service;

import com.sxbbc.common.core.entity.jz.AgAccount;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 代理资金账户表 服务类
 * </p>
 *
 * @author leehao
 * @since 2019-07-10
 */
public interface IAgAccountService extends IService<AgAccount> {

    /**
     * 通过代理ID查找代理用户对象
     * @param agid 代理ID
     * @author leehao
     * @return com.sxbbc.common.core.entity.jz.AgAccount
     */
    AgAccount selectByAgid(Integer agid);

    /**
     * 通过代理ID更新
     * @param agAccount
     * @author leehao
     * @return boolean
     */
    boolean updateByAgid(AgAccount agAccount);
}
